IE fixes
Fix for IE compatibility mode bug