Added redrawing canvas after connecting nodes or loading canvas from file.