ChopboxConnectionAnchor incorrectly restored after cancelling reconnect

Project:Draw2D
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

 How to reproduce:

  1. Go to UML demo (http://draw2d.org/draw2d/files/demo/uml/index.html)
  2. Select a connection
  3. Drag handle of connection
  4. Release it without connecting it to a port
  5. Move one of the connected figures

Experienced behaviour: Connection is rooted at port

Expected behaviour: Connection should be rooted at figure, as before the connection handle was dragged and released