Fixe bug with "imageLoadedCallback not found"