Off-screen indicators

Trying to use this BP in a top down XY viewport and have a problem. When character is on the right/down side of the object it works fine, but when it comes to the left/top side - indicator points to the opposite direction.

PS: removed the ABS node wich was proposed by original author in a fix. Overwise it always point in opposite direction.

Can someone take a look at it? You would help a lot. Thanks.
Widget: Simple widget with image in center
Run part:

Function code
func.txt (151.0 KB)

Variables
vars.txt (3.1 KB)

Problem: