fix: crash when reloading thumbnails before image is loaded