Inview: Fix test failures in IE

Testing patch from gh-5874