Fixed bug to old ref to nshade_state.h