Fixed buggy rendering of particles

Just didnt understand my own code. Admitting own mistakes is part of
growth? I hope.