fix boy shadow performance issue