Take into account the current scroll position of the page when figuring out whether clicks occurred on an interactive element.