Added stopPropagation to main event