The reason the statement was moved is so that for RemoteWebDriver sessions, we scroll to the element before we take a screenshot. There was a bug I'm fixing that for elements which required scrolling to, we were taking a screenshot of the top section of the page and cropping that picture as if the element were already on the page -- leading to inaccurate screenshots. This commit resolves it