BUG:364047 Use the exactbounds, not extent for saving layers
Otherwise they will grow in steps of 64x64 pixels. Interestingly, photoshop crops all transparent pixels when loading, while Gimp doesn't do that.