Fix missing line/offsets when looking up symbol positions

Fixes #630