Add xend, yend to position for annotate.

Fixes #859.