Fix scrollbar check for IE11 and Chrome on OSX