Fix clicking on parts of annotations that are in a different element than where the annotation starts.

Fixes #20.