void removeStage(Stage stage) { if (stage.renderLoop == this) { _stages.remove(stage); stage._renderLoop = null; } }