you should do the same check against minimum width above, in case the canvases were narrow