Browser compatibility bugfix for IE8.