Fix for Sampler States that used object.Sample() rather than tex2D(sampler, texCoord).