Changed the way bezier paths work