Little bit of tidying in Sprite.js