Added pauseMenu in guiLayer.