Optimize sprite attachment system
- Avoid downloading useless files
- Fix visual problem because of the loading order