Fixed some layout problems.