removed console.log from drawing module's calculateSegmentCanvasDimensions