Fix popup handling when image does not exist