Small module for fitting a canvas element within the bounds of its parent.