Fixed rare bug in MainMenuFragment initialisation.