Fix animation on zooming and single-point lines