Fix bug where Ctrl+X do not always function correctly (leaving some stacked particles not deleted)