Fixed off-by-one bug in dragAlongPathWithPoints

Fixed off-by-one bug in dragAlongPathWithPoints method which was omitting the last point when simulating a drag along an array of points.