I have added a game over screen to my game which appears when lives is less than 1 and have added a pause function when the user presses 'p'. When the game over screen appears the user is able to press the pause button and the pause screen appears. Is there anyway or removing key functionality when the game over screen is displayed?