Fixes IE11, which doesn't have this functionality (as reported in https://github.com/pixijs/pixi.js/pull/4724)