@Override
	public void mouseClicked(MouseEvent e) {
		Point clickedPoint = getClickedPoint(e);
		if (SwingUtilities.isLeftMouseButton(e)) {
			if (Main.modState == ModState.Creating) {
				handlePointCreation(clickedPoint);
			}
		} else if (SwingUtilities.isRightMouseButton(e)) {
			if (Main.modState == ModState.Editing) {
				handleCurveDeletion(clickedPoint);
			}
		}
	}