Something you might try if you're using Windows 10 is to disable Xbox Game DVR which is enabled by default with Windows.