Fix overflowing the header for longpages