Correctly set the max line length if there is only one line and recalculate the horiz...