Fixing a really weird bug on IE I don't even know how to report.