Fixed #17552 -- Removed a hack for IE6 and earlier.

Thanks Aaron Cannon for the report.