ECMS-5655: Fix some problems on IE 9