The save function in Node.cpp uses current layer bounds to create new image to save, this is what causes the layer to only export cropped size.
Added a flag to allow selecting crop to image or crop to layer boundaries, as each is usefull in differente workflows. (I normally use crop to image bounds)