Correct offset in case of touch events.