We mutated rect (coming from self._js_dict), which means we used the already adjusted values the second time we called rect_on_view. Fixes #1863.
This renames tests/integration to tests/end2end and moves some files to tests/end2end/fixtures.