Fixed object overriding when adding script but not prefab to object.