Corrected header rendering for small devices