Fix interaction between the header and Ajax-loaded bodies