Fixed main menu crash