Bugfix in CanvasUtilities