Fix caret position on Android

Fixes bug introduced in 23e6f693 (PR #196) - function created by $.proxy was never executed.