Updating canvas sizing