Interpret editor clicks relative to lines div, not the scrollView div

Fixes #2668

If the scroll view has padding, using it as the basis for locating
clicks relative to the lines is problematic.