Well, in that particular spot in the code, the click target is already on screen. I suppose when we find one that's off screen, or at least above the screen, we could scroll straight to it and click on it. Right now the idea is to scroll from top to bottom, clicking on stuff as it goes, kind of like a human might do. But pull requests are more than welcome, if you want to fiddle with it and see what works best. :)