fix: app tried to display an image even if no image was present