Bug correction when reset the animation have to make a pd to assure the initial line painting