fix Tip positions for elements with border

merge #39 first: it fixes the example page and it's possible to see the problem better