Hi, I'm Bernard, a fellow Windows user. I'm happy to help!
Based on your inputs, it seems that there is a power loss on the device when using the Xbox controller. In addition, other drivers may also be a factor, as it might be due to miscalibration, in this case. Can you please check the System logs on the PC so I can further examine the root cause of the issue?
To do this, kindly follow the steps from this link:
https://www.yourwindowsguide.com/2017/12/how-to-share-event-logs-in-case-of/#.ZFfoIRFByUk
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Then, please upload it by following the steps from the link.
Additional note: Please let me know the make and model of your graphics card. A clean installation of the display driver might be necessary.