Why dose this not work right?

This sets the cursor right, but when the cursor hovers over a button or goes out of the window it turns back to the arror, how do I fix this?
I figured it out c:
Topic archived. No new replies allowed.