Fix for bezier curve length calculation not being reset.
fix for not pausing if already paused.