The game is paused when the window is not active