Direct3D 11 driver fixes

Keeps Direct3D9 compatibility