Fixed a 'this' reference in the textureLoading error callback