Select the ligature caret rather than the side bearing when they overlap.

This relates to issue #1788.

It was difficult to select the ligature caret when it was on the left side bearing since the mouse would select the left side bearing. This patch seems to correct that.