Fix showing error on reloading image when not loaded