fix a typo in canvas-debug.h
add casting for MSVC sqrt
only generate some current canvas debug output when CANVAS_DEBUG is defined, to quieten things down