Fixed setDraggable issue