Fix layout export.