Fixed a pause menu bug