Window now closes when a key is pressed while the MenuGameState is in focus.