Magic aim to shake off tough loss with trip to Miami