fix bundle

Fix bug on load old static model.
Set name to attached sprite or node when loading from file.