Use touch point index when generating pointer ID. Fixes #2