I'm trying to implement gamepad input and, at first, using gamepad index 1 worked fine, but I eventually switched to using "On gamepad connected" and setting a variable I would then use as the index for the gamepad to "Gamepad.GamepadIndex", but it eventually stopped working, and by debugging, I noticed the variable isn't being set. Gamepad works for every other application on my pc, and if I restart my pc, gamepad will work on construct again for a while. What should I do?