Added mouse click drawing functionality