XFCE mouse cursor gets stuck on "loading" icon

Hello, recently I’ve been running into this annoying issue where my mouse gets stuck on the icon with the spinning wheel next to the cursor (using breeze or maya cursor themes). This happens usually when launching a program from a shortcut on desktop or xfce taskbar. Also I noticed that my cursor theme is sometimes inconsistent with different applications. The spinning wheel icon is displayed only when hovering over window borders or xfce taskbar, in application windows it usually looks normal. I’m using the default windowmanager, xfwm.

Changing the mouse theme back and forth from settings fixes the issue temporarily but it is nevertheless really annoying.