updateAppearenceFromState() {
      if (self._ws_region?.update) {
        self._ws_region.start = self.start;
        self._ws_region.end = self.end;
        self.applyCSSClass(self._ws_region);
      }
    }
Sometimes this method is called too soon in the new UI so it fails.
Will be good on the next execution