Merge "Fix crash during cursor moving on BiDi text" into pi-dev