Fix swapDimens transformation.