fix hiding of icons outside header when icons in header are disabled