Fix various element positions.