Fixes touch events