Fix wrong position of box around pin 1 for DIP

The same problem was present for DIP (but by mistake I was comparing sip() with dih()), so this commit reverts the previous change and uses the same code you used in dih().
Note that there is still a bug when setting the "mirror" property, the small box is drawn outside of the big box, on the right side.