Do not use -ms-user-select to prevent selection of elements in IE

Fixes #17639.

(cherry picked from commit 7ae2a43b608eae921b862b7feb6f2910bb45b03a)