fixed bezier paths not properly looping