Pc controller bug

It seems like random buttons almost get stuck while using a controller on the PC. I’ll be teleporting around and all of a sudden it keeps spamming teleport without having to press the button. Pressing start stops the spam but no buttons will actually work until switching back to mouse input.

Even resetting it by going back to mouse inputs seems short lived. A lot of the time as soon as I press another button on the controller it will start spamming again.

It seems really random but I mainly notice it while mfing. I’m using an xbox one controller on the PC.