Make D3D default shader work when device is reset.