Add verification if the image is already loaded