If you device input acts wrong, then the probelm is usually in windows or in the hardware.
If you've searched the forum, you would have found that while such an automatic movement bug has happened several times before, there are only a few known causes which have been the reason for that kind of behaviour.
1) installing an old-type device driver for a graphics tablet, a joystick or a similiar non-mouse/keyboard entry driver.
Solution: remove the driver, windows can use graphics tablets using inbuild-drivers
2) hardware problems: defective or dirtied keyboard
In one case, this happened because a roomie had eaten cookies above the keyboard, turning it upside down and shaking until everything was removed solved the problem
There are a few rarer possibilities like wrong scripts (test by making a new project with a sample map) or a damaged program/system (delete and reinstall either RM or the entire windows), but the two first points were the usual causes.