title: Javascript: caretPositionFromPoint/caretRangeFromPoint is returning wrong range for Chinese characters at the beginning of line
body: <p>The <code>caretPositionFromPoint</code>/<code>caretRangeFromPoint</code> is returning the end of the line above it instead of the beginning of line(first character position) when clicking the first character of any line except the first line of paragraph.</p>
  <p><strong>Steps to reproduce:</strong></p>
  <p>Click the first character of any line except the first line of paragraph, it will return false because its returning wrong position.</p>
  <p>For some freaking reason cannot create a runnable snippet of the code here on SO so please see the JsFiddle below.</p>
  <p><strong><a href="https://jsfiddle.net/zvt8wyxa/" rel="nofollow noreferrer">https://jsfiddle.net/zvt8wyxa/</a></strong></p>
  <p>Any workaround will be greatly appreciated. Thanks</p>