Desmond Bane hit a tiebreaking foul shot with 45.2 seconds left, and the visiting Memphis Grizzlies rallied from a 19-point third-quarter deficit to defeat the Orlando Magic 105-104 on Friday.