Fix line plot animation.