Unreal Engine is exiting due to D3D device being lost AGAIN AND AGAIN

It works, just manually increase the size of the unreal engine editor UI and make it full screen but the default full-screen mode will cause you the error