Fix for issue #248: IE 8 initializing too early