Fix layout problems.