Fixed bug where leading whitespace is not counted

If focus node trails anchor node, selection.toString() sometimes fails
to include leading whitespace, even if it selected. Increase count by
one if there is a discrepancy with focusOffset.