Fixes issue with particle systems