Menu glitching out cursor

I have my mouse icon in game set as a transparent image.

Whenever I open up the roblox menu it turns it into a clicking cursor until I exit the tab with my mouse.

Is this a bug? or something I can fix with a script. Please let me know.

here is a video of it happening:

You should be using UserInputService.MouseIconEnabled for this.

local UserInputService = game:GetService("UserInputService");
UserInputSerivce.MouseIconEnabled = false;