Added support for is-on-screen hit detection