Fix the header menus display issue.