Work around IE bug related to relatedTarget
Merge pull request #401 from arv/related-target-work-around

Work around IE bug related to relatedTarget