I had this problem some time ago with Half-Life immediately after changing to a USB mouse. I changed back to a PS/2 mouse and the problem went away; I’ve not had the problem since then, on other computers no matter what kind of mouse was used.
I’d suspect your mouse drivers or the Windows helper interface to your mouse, try reinstalling or finding the latest drivers, or investigate the Mouse settings in your Control Panel and play around a bit.