This tests that an element which is moved by the synchronous layout in Element::setScrollTop, and again by the scroll itself, has its original location correctly invalidated.