fixed bug when the Menu button is pressed on gameplay screen