Fixed bug with missing name for sprites

Fixed bug with missing name for sprites