Magic beat Lakers in 119-118 thriller