Fixed subtle builder bug where exit() was being called and layerStack was one short