Use layerX instead of offsetX in touch event