This can happen when the contents of the page has a height that is near the height of the viewport. If you swipe up or down while on the 404 page, do the controls at the bottom start to show up?
I’m not sure there is much we can do here, plus it should be an extremely rare use case (getting to a 404 from a push notification, for example).