Handle problems while downloading images, another bug found by @Camporez