Fixed saving and exiting through pause menu.