Hey Buddy312,
most likely it has nothing to do with Windows 8. This could be happening due to a faulty mouse. You may want to try reconnecting your mouse when this occurs in a game. This happens all the time with some mouses. If this does not solve your issue, I'd gladly look into this some more.