It sounds like an issue with the contacts inside the mouse sending erratic signals to the PC... Just swap out another mouse and see if the error persists. If you have special mouse drivers and utilities for your mouse, like Logitech Setpoint and MSI Mouse Utility, uninstall them and reboot.