Detect the cursor position after setting text with Kinetic.EditableText.text()