Charlotte looked to be in control before Immanuel Quickley's sensational buzzer-beating three-pointer secured the win for Toronto.