Minor bug fix which prevents resize() from throwing an error when trying to resize a destroyed grid.