Avoid using preventDefault on mousedown

As described in mbostock/d3#1289 and mbostock/d3#1322, this produces better drag behavior in iframes. I borrowed the method for supressing text selection from there as well.