fix touch end bug