updated spritemanager to return spriteid from load