Fix Text selection with varying text sizes

Previous commit broke text selection with varying due to a misunderstanding of how ```_getWidthOfChar``` operates, this patch resolves the issue.