Add workaround for joint shadow problem.