removes obstacle generation from the render loop