Fixes JS error preventing the v3 UI from loading.