MADS: Fix exiting the game