Resize the bounding canvas box.

Contribution to #28