can we set `var bBox = this.workspace_.getCanvas().getBBox()` at the top so we can abstract out of here. Mostly because these last line are over 80 characters.