Code clean-up. Resizing an entity contained within another entity causes
the container's size to increase if necessary.