Fix filght path bug

Path dont get lost near pole.
Line isnt draw anymore outside globe.
Merge pull request #804 from Yankes/FixFlightPath

Fix filght path bug