Fixed another bug when overlay is on in header