fixed method isOnStage' s bug