Separates box thumbnail fix

Image 1 repeated in thumbs, but was not linked to other images when
light box was opened from it.