Oh late game was the clue I need. Seems I forgot to cap the colors at 8 in the latest version so that it would use empty sprites for colors 9 and so on. I don't know if this was the problem in the earlier version as well. Thanks for helping out