Add fix for IE10 compatibility mode