It's common nowadays for wireless mice to be packaged with a nano-receiver, a tiny receiver the size of a small finger nail, that plugs into a USB port.
On two systems, I've experienced erratic cursor behavior as I move the mouse. The cursor jumps or sometimes doesn't react at all.
The problem is due to the receiver being too close to the USB port. It picks up electronic noise generated by the computer's parts, interfering with the signals passing from the mouse. In addition, I found the problem specific to Logitech's Unifying receiver, which handles up to six devices. I suspect that there is just too much tiny electronics crammed into the tiny chunk of plastic and metal.
The solution is to install an extender, a male-female USB cord. It moves the receiver away from the computer. Even a couple of inches helps, but in severe cases, you may need to use a longer cord.