Updated set draggable to only set draggable if a draggable option is set to true