fixed image rotation