Fix header menu behavior