The thumbnail is created from the original image, not from the already downscaled slide image... The image already gets rotated in the ImageSlide constructor.
Did I understand you right?