minor compile fix: cCanvas related code