Fix bug so that replacing a file of an existing (already loaded) X.object works again.