Not sure if I'll be of help, but I can try. It would help to get some more information.
You're using the Breeze cursor theme, so I'll assume you're using KDE Plasma. The cursor looks like it's from Breeze 5, not 6, are you on the old Plasma 5? If you are on Plasma, you can go to settings and go to "System information" (near the bottom) or something like that. (IIRC, It was a long time ago since I last used it)
Are you using an Intel, AMD or Nvidia GPU?
Are you on X11 or Wayland? (They're different ways to handle windows, X11 is very old, but may work better in some cases. Wayland is newer, more secure, has some features that X11 lacks, like HDR & is usually better)
You can check the windowing system (X11/Wayland) by opening the terminal (the application Konsole on Plasma) and typing echo $WAYLAND_DISPLAY
and pressing enter. If you only get an empty line, you're on X11, otherwise you're on Wayland.
If you're on Wayland, go to the URL about:support
in Firefox. Then search (ctrl+f) for Window Protocol
. This should be Wayland, otherwise it's falling back to a X11 compatibility layer called Xwayland.