Also happens if it's a crappy optical mouse. The crappy ones can't refresh fast enough to keep up with the movement and they flip out.