public void Dispose()
 {
     GC.SuppressFinalize(this);
     ParentLayer?.RemoveChild(this);
 }