Fix for https://github.com/web-animations/web-animations-js/issues/39