Added calls to event.preventDefault in handled mouse actions.