Fix weird dragging behavior in Chrome.