IE compatibility-mode fixes