Restore GDI compatibility for D3D10 accelerated layers