Fixed position elements break with ion-refresher

In Safari, an element with position:fixed inside <ion-content> behaves like absolute position - it is placed relative to the ion-content (instead of the viewport) and it scrolls with the content.

After trying for too long to figure out this weird behavior, I realized that when I remove the <ion-refresh> element (with slot=“fixed”) it works as expected.

Is this a bug? Is there a workaround?