Connect capture_mouse with Zoom/Pan toolbar actions