Removed extraneous code from "canvas_draw_path".