According to a survey, a mouse jumping around is often related to faulty hardware including the mouse, USB port, and cable. In addition, an outdated device driver, improper touchpad settings, mouse pointer, and even malware are responsible for cursor jumps around.
I looked it up and above is one of the answers I got. Maybe it will be helpful? I am not at all tech smart so I can't help, sorry. Maybe you will have sorted it out by the time you read this and if so, good!