Ensure image visual shaderType is in range