Fix D3D11 error with stride mismatch.