Added proper displaying of gameover screen.