Fix click position in long files

Fixes #19