Fixed sprite numbering.