Do not use d3.mouse unless needed, instantly exit select.