Fixed particle memory leak