Modal body shift fix for IE10/11

Closes #13103 by merging it.