small fix to setting the draggable's constraint