touch offset bug fix