@Override
	public void mousePressed(MouseEvent e) {
		if (SwingUtilities.isLeftMouseButton(e)) {
			if (Main.modState == ModState.Editing) {
				Point clickedPoint = getClickedPoint(e);
				handlePointSelection(clickedPoint);
			}
		}
	}