Fixed regression that caused an issue in IE8.