Fix object duplication bug (at least in the most reproducible UFO case)