Fix wrong texture’s object reference in image loader callback

We have textures with undefined image property if there are more than one texture per material.