Fixed #14062.

Fixed modals not scaling up on @screen-md-min.