Correct handling of rotated base shape.