Gizmo earlier called "grip tools" get displayed at the geometric center of the selection set if the "GTLOCATION" system variable is set to 1. AutoCAD gathers the extents of all the selected entities and determines the geometric center of the combined extents. To have the gizmo correctly located for a custom entity, it is needed to override the "subGetGeomExtents" method and provide the extents.