Prevent overriding $img variable

imagesLoaded returns an instance, not what we need here