Fixed main menu crash.