Merged MouseListener and MouseMotionListener