Work around IE bug related to relatedTarget

We've  seen cases where the relatedTarget as reported by IE returns an Object without any properties and without an [[Prototype]].