Error on Javascript component.render() (TypeError: Cannot read property 'remove' of undefined)

I’m running SKUID version 12.1.7 and API v1

Here’s the XML for a simple example page where this error occurs when trying to re-render the Queue component. This should reproduce the error:

                          {{Index}}         var params = arguments[0], $ = skuid.$; console.log(params); params.model.data.sort((a, b) => (a.Index > b.Index) ? 1 : -1); var params = arguments[0], $ = skuid.$; skuid.component.getById(‘sk-sOu-839’).render();                               ```