Content dimensions incorrect at startup on iPhone X

Does anyone know how to fix / or is experiencing the incorrect dimensions on load in iPhone X? Starts off as 734px high until rotation, and back again, then reports the correct height if 812px. I’ve tried viewport-fit=cover as well as html and body height of 100vh and read many discussions ie but to no avail.