fixed the game over screen and the pause screen