Fixed Texture invalid handler pointer problem