Bug 1059163 - If reported cursor position in latin.js@activate is invalid, reset cursor position to 0