Fixing "black square" bug in IE9