Fixed sprite display issue