Bugfix on touchevents