Fixed bug where out-of-frame solid particles were not removed