Updated code to try to work with Bezier Paths ;-)