iOS: Fixed player position change which was sometimes wrong because the touches ended event sometimes returns a different value than touches moved.

Related to issue #405.