Windows 10 has been notoriously more finicky about device drivers than the versions of Windows that came before it. The first thing I'd do is update the device driver (and settings software if they're bundled) for your mouse.
If this mouse was supplied with your machine then the first place to check is the machine manufacturer's support pages under drivers & downloads for your specific model. There is almost certain to be a newer device driver there.
If it was not, then I would check the support pages of the mouse manufacturer for the specific mouse you're working with.
If doing a driver update does not fix your problem then please report back afterward with what, if any, behavior changes it might have induced. If it does fix it, please let us know.
Brian AKA Bri the Tech Guy (website in my user profile) - Windows 10 Home, 64-Bit, Version 1803, Build 17134
. . . the presumption of innocence, while essential in the legal realm, does not mean the elimination of common sense outside it. The willing suspension of disbelief has its limits, or should.
~ Ruth Marcus, November 10, 2017, in Washington Post article, Bannon is right: It’s no coincidence The Post broke the Moore story