fixed "cannot invoke blur on null object"

in IE10 document.activeElement is sometimes null