fix renderbackground a little bit
fix particle flags