Fixes to avoid rechecking connected input devices in IsInputDeviceValid(), which now only check using current valid devices list.