canvas-animation: Some Path-related code clean-up.