Fixing touch events