Drag and drop occasional failing

I have an occasional issue with drag and drop jquery plugin by bubble. I have a top-border which is visible when the drop area item is dragged over. When I drag an item over another the border becomes visible like it’s supposed to. But when dropping the item, it occasionally does not trigger the normal workflow (so the item is not reordered) and the conditional visibility on that border element stays visible (like it’s still being hovered over)

How can I ensure that border goes away when this happens?
I’m hoping there is an obvious condition to hide the border when the drag and drop fails to execute like this. Does anyone have any ideas?

Also, is it normal for the drag and drop to do this behavior (fail to execute but still showing the “being dragged over” conditions).

I could really use some help with this. If anyone reads this and has could assist I appreciate it.