fix menu rendering