Remove redundant parameters when replacing an object in a scene
Move the copying of the logic bricks to the method that add the object to a scene