extend SpriteSheet.getSprite function