@Override
    public void mouseDragged(MouseEvent e) {
        // Get the current point where the mouse is dragged at.
        finalX = e.getXOnScreen();
        finalY = e.getYOnScreen();
        // Behind the initial point? Nope.
        if (finalX < initialX || finalY < initialY) {
            finalX = 0;
            finalY = 0;   
        }
        
        clearCanvas = true;
        repaint();
    }