fix bug on multitouch logic