fix menubar position when header is not shown