Fix sprite references