Just going over the basics here, wild guesses...

Have you checked if the skin is to the power of 2?

d3d_entsort = 2; maybe ?