Fix ajax sub-menu rendering