code: function tweenDone() {
      if (self._replacedScene) {
        self._removeSceneEventListeners(self._replacedScene);
        oldSceneLayers = self._replacedScene.listLayers();
        for (var i = 0; i < oldSceneLayers.length; i++) {
          self._removeLayerFromStage(oldSceneLayers[i]);
        }
        self._replacedScene = null;
      }
      self._cancelCurrentTween = null;
      done();
    }
docs: Once the transition is complete, remove old scene layers from the stage and remove the event listeners. If the old scene was destroyed during the transition, this has already been taken care of. Otherwise, we still need to get a fresh copy of the scene's layers, since they might have changed during the transition.