Why do background generators restart in a glitchy way, and how can I avoid it?
It might be a side effect of that FCPX has a top down approach. Elements and timelines on top can have effects of elements and timelines underneath.
Change the order and move the generator on to of everything, this should help the glitching.