Fix for touch events