Pins with margin collapse

the padding was ignored in the last fix for boxes with margin collapse.
now fixed.