Fixed an async problem with the spriting
Merge pull request #42 from LaurentGoderre/fix-39

Fixed an async problem with the spriting