The attachment's path is its name by default. So if you change it, it will try to look for the image with the new name. If it doesn't exist, it will be missing.
If you don't want to automatically change the attachment's name, just uncheck "rename attachment" when you rename the slot.