delete mouseDragged and mousePressed