Hack to slightly improve IE7 functionality