Transparency sorting is a tricky problem, especially in a case like this where you're trying to render as fast as possible. You probably don't believe me, but this is currently the best of all possible failure states. I tried to explain it to kompressor and he didn't believe me either. Then he spent 2 days messing with it and finally ended up putting it back the way it was.