Tentative fix for IE window problem