How to prevent triggering behavior if the hit actor is off screen?

If the actor is off screen and casting a long shadow, then the shadow could fall within the camera frustum. If this wasn’t taken into account then you would have constantly shadows flickering in and out of existence at the edge of your screen.