Correctly read the position on touchend events