Indeed i was feching the mouse global position insted of the local and relative to the player there is a fixed version on the description, i will update this when the voting ends.
Thanks for playing!