fixed ParticleSystem reset bug
framework sdl functions