More fixes for IE8 quirks