There's an option somewhere that has your gamepad work when the game isn't the active window. I think it's in System Config > Gamepad.

Windows 10 update loves taking over as the active window without giving any indication.