Fix IE performance regressions.