Fixed crash when attempting to move caret to last character
Fixed crash when attempting to move caret to last character

closestPositioToPoint: is one-indexed, so the last character is
referenced as shownText.length. Thus, we subtract one from the
index when finding the closest position to point (UIPoint).

peterhajas/Genesis,peterhajas/Genesis