Ok, it's not your mouse, it's something else, probably a rendering issue. Can I make a wild guess? Are you on X11? In that case try this:
Add this
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "SWCursor" "True"
Option "VariableRefresh" "True"
EndSection
to a new file called /etc/X11/xorg.conf.d/20-amdgpu.conf and reboot.
AMD GPUs sometimes have this wild random bug with hardware cursor rendering.
Be aware, that you might get some side effects, like flickering buttons when hovering with the mouse.