Fixed game not exiting