Added _preventDefaultstopPropagation, refactored code to use it.