avoid garbage in TouchEvent processing