Fix layout of a transformation.