Fixed image rotation in Mosaic filter