Fix when there are multiple images