Fix for shaders that sample outside of texture boundaries