Fixed incorrectly rotated images in Mosaic Filter.