Need some help (Fixed)

https://flowlab.io/game/view/870561
Working on a game for the flowjam, it runs fine, except for the object spreader sometimes will glitch a lot, shaking side to side, if you don’t see the glitch, and you already built a ship, press r and try again.
Another thing is when an infected planet returns to the origin world to make a ship, it messes up the camera.
I need a new set of eyes on this.