Fixed the walls not updating when they are randomly generated.