Improved IE7 support