ui: Filter out touch events