fix the joint number in shadow map plugin