Change a way walls are constructed.

The original way caused NPE in case referenced node did not exist.
getNodeAt() returned null and Wall.getX() threw an exception.