Bugfix for wrong offset for cloned objects (polygon & polyline)

Bugfix for wrong offset if object is cloned. Same bug as issue #416