[lint addon] Use center of target node rather than mouse pos to find inline annotations

Since the mouseover will necessarily happen at the very edge of the node, and thus
give ambiguous coordinates.

Closes #2821