Mousetrap.js doesn’t properly stop callbacks for events originating from a shadow DOM

@kleinfreund FYI, I have merged the upstream changes on our fork of mousetrap should you wish to revisit the PR above.