draw.c: Fix off-by-one error causing drawing outside canvas
graph.c: Add missing stack pop in division operator