Fix `pointerId` on CocoonJS
Prevent firing input events out of order (e.g. on iOS Safari)