EMI: fix for EMI demo crash by ignoring setting shadow to null Set
GRIM: fix compilation warning