Fixed #293 (Flying AI)