iOS: wrong page layout after switching from portrait to landscape orientation and back

It is exactly the same issue, as described here. Reproducible both on iOS and iPadOS.