Fixed NPE when rendering Scaffolding

When placing scaffolding, i get a rendering NPE. This fixes it for me, but I have no way to verify whether the rendering now is correct.