Fix bug that's preventing submenus from loading