fix unit position while dragging