correction of addExistingChild()

to calculate zIndex when inserting a widget in a container the new
widget position should take into account the thickness of the container
(to calculate overlaps). This was missing
passes all tests