Fixed an error in canvas_getCanvasCenter()
Updated canvas.h
Reverted 4eee47f
Fixed some errors produced reverting 4eee47f