Plane : Corrected bug in takeoff detection