fix sprite.js