Fixing ordering of images.