Fix sprite map issue.