Drag & Drop - return panel to existing location if not over target area

I have a drag-able panel that should ping back to its original position if it is not dropped over the target area. I have set up the logic but does not seem to work. Everything works fine except Case 2 at the bottom. This is the set up…

Try to change ELSE IF on only ELSE IF without condition

Thanks Melibrion, Is below what you mean? I tried it like this at first and it didn’t work -

Can you paste the RP file?

test-example.rp (139.9 KB)

Thanks. Here is the file. The line item at the bottom is dragged onto the item above (RF19 XDE), if it is not over the target when dropped I need it to ping back to its original position.

Image%2045