Fromreddit, it worked for me.
To resolve this you can also use the powershell to edit the registry like this:
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0 reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0This disables the game recorder software which seems to still think that the gaming overlay is still present.
This was the solution to my problems, thank you Sir, have a good one :)