Sorry to hear that you encounter this weird bug, can we ask what gamepad you are using? We would like to further check this issue.
A wireless Xbox360 gamepad connected via an OEM USB dongle.
So an Xinput device
Upon closer examination, it appears to because there little-to-know deadzone on the analog stick controls
You barely bump it and the cursor moves
Thank you for this feedback!