Fixes #17417. IE11 support. Thanks Sebastien Brunot (IBM, CCLA)
(cherry picked from commit bd6a44b9ca37ada7700d021f6717f64ad1eaf232)