Fixed pause menu bug

The game would freeze after the options button was clicked