Fixed the data-inview test in Safari
Merge pull request #5953 from wet-boew/fix-safari-test

Fixed the data-inview test in Safari