3dAutomask starts its work using the histogram of the voxel intensities. After scaling, this histogram contains so little information that the algorithm used for selecting the initial threshold doesn't work well. I suppose the algorithm should adjust to the weird (non-smooth) nature of the histogram, but is it really worth the effort?