Fixed menu rendering bug