public InsertPointAction(Arc arc, Point mousepos) {
    selected = arc;

    // Mousepos is relative to selected component i.e. the arc
    // Need to convert this into actual coordinates
    Point2D.Float offset = new Point2D.Float(selected.getX(), selected.getY());
    mouseposition = new Point2D.Float(mousepos.x + offset.x, mousepos.y + offset.y);
  }