Dont ask me why this makes or made any difference because I dont know the reason but one thing that I did do that seemed to have some effect was to remove all software device drivers for my specific mouse.
I use the Razer Basilisk V2 mouse and was running with the software supplied by them for the mouse. For various reasons I found that the software (drivers) were causing some weird occurrences on my computer. After removing them and using regedit to remove as many references of Razer as I could things seems to perform better using just the standard MS software. HID keyboard and mouse now. My keyboard is a Razer Black Widow Elite just for reference.
I have no idea if this is just coincidental or significant but just thought I would supply another thought into the mix here.
As a WARNING***** I am a A+ Certified computer tech and I do not endorse the practice of slashing and hacking your way through your computers registry UNLESS you understand what you are doing and that you have a safely stored copy of the Registry just in case you have an OOPS moment.