Sprite sheet loader almost working