minor compile fix: cCanvas related code
Graphics: Followed recent changes in cCanvas API.