New feature - Resize group or frame to contents

You can use the “Resize to fit” to adjust the frame to the size of the layers within it.