Form: fixes refocusing a document.activeElement for IE