Fixed a bug in drawing_canvas.rb