Fixed bug with jumping zindex on header hidden