fixed bug with DRAGGING state