Fix 'Clearing display of cell element on grid without actually deleting it' issue