Fixed the positioning of elements for the last line.