Fixed bug in YWing-Flight which prevented window to close