Solves game crashing when plane finishes flight plan