Fix animation on zooming and single-point lines
Allow resetting of the animation