If it's not the mice, it could be a connection issue. For the most part, from a software standpoint, the end result won't change if the deciding factors remain the same. So, if you say it sometimes works, but sometimes doesn't, and you're not changing anything, then it's most likely something hardware related.