Fixed Safari header and lightbox bug