bugfix in GraphCanvas