PreventDefault for up event.