@Override
    public void mouseMoved(int oldx, int oldy, int newx, int newy) {
        super.mouseMoved(oldx, oldy, newx, newy);
        if (!dragged && pressed && (oldx != newx || oldy != newy)) {
            dragListener.onDragStart(this, newx, newy);
            dragged = true;
            return;
        }

        if (dragged) {
            dragListener.onDrag(this, newx, newy);
            return;
        }
    }