This is because mobile-chrome calculates the address bar to the height of the viewport, and when scrolling through a web page, the address bar also scrolls, and the visible area dynamically changes its height.
eg. on the screen 320px X 360px on mobile chrome with the address bar, the height of the viewing window is 564px and after scrolling, when the address bar disappears, the height of the viewing window changes to 620px .
Viewport height with address bar

Viewport height without address bar

Now image in .wp-custom-header , taking min-height:100%;height:100% , which will dynamically change the height, so the image changes its size when scrolling.
It is best to set the height of the image in pixels in media queries .
.has-header-image .custom-header-media img{ height: 620px; min-height: 0; }
A similar problem:
css3-100vh-not-constant-in-mobile-browser
Abhishek pandey
source share