Corrected fix for #2007 in IE9 and under