Detect actor inside widget image hud overlay inaccurate on only 1 side

Hii, this is my first post and I’m trying to detect if an actor is within a widget image or not. I did this by getting the actor’s screen location and checking them against the widget image’s location

The checks are messy here but they are:
actor_x >= image_x AND
image_x * 2 >= actor_x AND
actor_y >= image_y AND
image_y * 2 >= actor_y

I think I can multiply the image_x and y by 2 because the image is in the center of the screen and I can’t seem to be able to get the width and height or x2 and y2

This seemed to work pretty on all sides beside right which needs to be a lot further away before it thinks its not there anymore for some reason. any clue why this is happening?

the rectangle thingy is the widget image I’m talking about and the big circle shows up when it detects the actor(guy in the far back) is within the image
And I’m showing the furthest i can go without the circle disappearing(aka not detecting the actor within image anymore)