Fixed bug in obtaining the location of the first control point (in selectedCentrolPointLocation()) - no test was made for selectedControlPoint.start
Merged fix for selectedControlPointLocation