Fix chrome notifications causing dom exceptions