I'll get that issue sometimes as well. I don't really have the issues anymore though since I started playing in fullscreen borderless. Have you tried that to see if the problem went away?
Ryzen 7800X3D - RTX 4090 FE - ROG Strix B650E iGaming - 64gb 6000mhz G-Skill Neo - Noctua NH D15 - ROG Loki Platinum 1000w SFXL - 4TB Samsung Gen. 5 NVMe - Fractal Torrent Case - ROG PG48UQ OLED