fixed menu rendering correctly