Hello!
This sounds like a faulty mouse, or possibly you have a macro/mouse rebind installed. Please try using a different mouse, or the the mouse in a different computer (if possible).
If you already have tried and you're still having issues, please test in clean boot.
Press Windows + R, type msconfig, and press Enter.
In the System Configuration window, go to the Services tab.
Check Hide all Microsoft services, then click Disable all.
Go to the Startup tab and click Open Task Manager.
In Task Manager, disable all startup items.
Close Task Manager, then click OK in System Configuration.
Restart your computer, then please test again.