Implemented pathing element by cubic bezier curve