Fixed unit test in IE9-10-11 where the caret was positioned outside of the body tag.