AbstractObject: template was not reinitialized

...when adding already existing object to another object.
Merge pull request #244 from DarkSide666/patch-6

AbstractObject: template was not reinitialized