fixed direct3d