sprites.js now working

In image manager : fixed a bug, allowing to call getSprite from within a
onImageLoad callback