code: @Override
      public C remove(final T child)
      {
          child.detachFromLayerColorMap();
  
          super.remove(child);
  
          return cast();
      }
docs: Removes a primitive from the container. Override to ensure primitive is removed from Layers Color Map
  <p>
  It should be noted that this operation will not have an apparent effect for an already rendered (drawn) Container.
  In other words, if the Container has already been drawn and a new primitive is added, you'll need to invoke draw() on the
  Container. This is done to enhance performance, otherwise, for every add we would have draws impacting performance.