remove dead code from shadow view (OnStageConnection & OnStageDisconnection)