Add displayMmToModelBox(). Fix MgShapes::hitTest() for small shape.