Fix failure case when resizing a new model