fixed bug on dragging the start state