Fix bug in text position computation
Typescript prototype