QmlDesigner: Fix margins for Group Box

We used the item size for calculation, now we use the content item
bounding rectangle.

Change-Id: I94ca0565c1c3d992563207ee1cd9c1dcb8c874ea
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>