Fix IE reloading bug