IE fix for blurring of active element

In IE, activeElement might be null, BODY element, or SVG element. In all such cases, `blur()` will throw an exception. This swallows the exception and moves on.

Handles #316 #370 as well

/cc @josh @nuclearsandwich