Avoid warning by using dimensionworld from Geometry instead of Entity.