isolates window.focus from ie8