Fix an issue with IE8