Opening the main menu will keep the game running while closing the main menu (ESC) will pause it. You need to save and exit and load again to fix it