Fixed condition block drag and drop issue