Fixed a bug affecting the implementation of draggable paths