bugfix in graph canvas