Were you in Safe mode? Sometimes behavior can be unpredictable when the drone is close by. The drone should be at least 25ft away from you at takeoff while in safe mode. Or takeoff in angle mode then once the drone is away from you put it in safe mode.