fixed regression introduced in IE8 and lower