Fix canvas path animation bug. (#102, #115)