Committing before removing flag from GameObject