fix error in QTkCanvas, fix #111