fix bug introduced by getting rid of stopPropagation