Why did you remove these lines? The new helper class doesn't set the canvas size to zero. Shouldn't we still do that here?