Fixed a mistake about SPATIAL_ENTITY extents