Fixed the bug for TextContainer in IE