 xrmp.onplayerleave = playerMesh => {
    scene.remove(playerMesh);

    playerMesh.skinMesh.destroy();
  };
  xrmp.onerror = e => {
    console.warn(e.error);
  };
};
const _closeServer = () => {
  xrmp.onopen = null;
  xrmp.onsync = null;
  xrmp.onobjectadd = null;
  xrmp.onobjectremove = null;
  xrmp.close();
};
const _bindObject = o => {
  o.onupdate = e => {
    const {object, matrix} = e;
    const {id} = object;
    const tab = tabs.find(tab => tab.id === id);
    const {iframe} = tab;
    iframe.pos