[TASK] Replace getSpriteIcon in compatibility6