Fix partial-updating of lines with line widgets above them

Issue #1554