refers #17311. Fix UA detection for IE11.