Fixed bug where pasting contents on IE sometimes would place the contents at the end of the editor.