fixing attachment of objects on global mode