fix tools showing while dragging