fix #14254  Modal Sometimes Does Not Appear after Multiple Displays in Safari
Merge pull request #14723 from twbs/fat-fix-14254

fix #14254  Modal Sometimes Does Not Appear after Multiple Displays in S...