iOS Safari window.scrollTo / getBoundingClientRect bug

For the explanation and the solution read the blog post.

Make sure to use iOS Safari to see the bug.

This element's "getBoundingClientRect" will be returned wrong.
Click on the button above to test it.