[TIMOB-14016] TextWidget setSelection selecting wrong position

Details in [Jira ticket](https://jira.appcelerator.org/browse/TIMOB-16014)