Fixes #15 - On focus lost, go to pause menu only if in game mode.
Merge pull request #17 from AdrianGaudebert/15-lose-focus

Fixes #15 - On focus lost, go to pause menu only if in game mode.