Hack to make the editor's autoresize work on IE