Improved canvas sizing