Fix for Sandbox failing under internet explorer