Evaluate container class whenever the entity is changed to ensure sizing logic evaluates correctly.