Improved dragging events.