WinRT: prevented a potential race condition in the XInput backend The race condition could've been triggered on device removal.