Some mouse handler improvements for circuit lines