Ensure navbar renders correctly