Disabling movement when the game is over