Just point the light downward where it is used rather than upward.
I'm trying to find some porch light that don't point above horizontal and have motion detection. A couple of my neighbors seem to think it is their job to light up yard and search for Russian bombers.
Ummmm, no.
RTF scatters in all directions.
When I was a kid, the people across the street had a motion-activated flood light that pointed straight out into the street, and right into my face when I would be outside. I used to grumble to myself that the neighbors are going supernova whenever a simplest chipmunk would trip it. That thing was just that insanely bright.