Fix header rendering