protected override void OnTransformParentChanged() { if (this.IsActive()) { this.CacheCanvas(); GraphicRegistry.RegisterGraphicForCanvas(this.canvas, this); this.SetAllDirty(); } }