`pack` returns the correct rectangle (without margin)