Fixed a regression in particle system renderer, regression in particle system struct and some warnings.