Add 'name' field of MgGroup. Skip hidden shapes in hitTest.