Fix caret position on Android

Fixes bug introduced in 23e6f693 - function created by $.proxy was never executed.
Merge pull request #213 from Xaerxess/patch-1

Fix caret position on Android