remove the edge detection and keep only the mouse action