Improved sightline check logic