bug fix: restarting the game when paused