Fixed sprite printing error