Building bug in Latest Unstable

While in the custom building UI, The undo button is cause an error and the structure stays in the preview of the building… After that Error came up the roof tool wouldn’t work properly either.