The farthest mountains seem to jump into existence, though. One possible solution would be to fade them in by applying the sky background as a fog. I guess a linear fog (textured, as if that were a thing) with both the near plane and the far plane far away would preserve as much as possible of the pixel art cartoon look.
Another solution would be to always only generate mountains that fit behind the present ones.
Yep, to show how 2 planes work. And this is why the topic in Resources
PS There is another version, with one plane instead of two: Endless way II (single plane). There I used discard for smooth appearance of farthest mountains.