I checked out the console and it looks of course like position:fixed is used with a scroll spy event listener to update the top css property.
The issue is probably due to the fact that a dialog (with screen mask) jossles the scroll but doesn't fire the listener when closed.