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

Yes I think this problem is coming from Slate.
I am also using 4K display, latest NVidia drivers.

I just disabled DPI scaling, enabled those settings above and the editor started to run properly, no crashes yet since then.