Fixed orientation of images (which appeared transposed)