Don't try to update lines/line numbers until after initial measurement

Fixes #3047