public synchronized void mouseMoved(MouseEvent e) {
		if (isRelative()) {
			Point p = e.getPoint();
			dx += p.x - center.x;
			dy += p.y - center.y;
			centerMouse();
		} else {
			currentPos = e.getPoint();
		}
	}