Anchors stuck underneath fixed header

This behavior makes sense.
You can add a colorless line (so that it does not appear), Dock to top with a negative margin as the height of the Header , and make this line act as an anchor.