Fix layout studder when deleting items