* fixed pointer position calculation in iOS frontend