Hack to improve dragging and dropping.