Custom Cursor and Web browser widget issue

Bro, thank you for the solution. I was trying to solve this for ages. The trick was to connect the script to the event tick after all. You are savior.