Error thrown when change language through ASAP API

Error thrown when change language through ASAP API

Following is a codepen to reproduce it:
https://codepen.io/uchihayuki/pen/vYKwmJE?editors=1111

Click either on Chinese or English, an error will be thrown, then the Asap widget disappeared...

when I run it in chrome locally, console shows:
react.vendor.1aa51f24d953e4b80e95_.js:25 TypeError: Cannot read property 'remove' of null