Prevents bubbling of event handlers