Hmm, interesting! It worked (I think!) previously, but I did some quick changes to it yesterday and probably broke it in ways that I didn't anticipate. The joys of testing a change only too little before assuming it works, apologies.
Not a problem, it's not like I paid for this (though I would have), I just thought you'd really like to know. With some more examination, it seems picking a stack up and putting it right back where it came from almost always screws up the coloring, if that helps nail down the issue.