fixed bug when resuming a game from main menu