Help with a custom cursor?

Hi im trying to get this cursor component working in a file with dynamicly assigned depths , Im having trouble setting the courser’s depth whi9ch is causing it to disappear behing the background whben i set its depth dynamicly .

Can anyone tell me how to set its depth to 901 so it dosnt get shoved behind the wallpaper ?

download