fix-only Canvas.js->getBestFigure (removed comments, logs)
implemented Figure.js->onDragLeave (this needs to go in a generated class)