[Toolkit.Game] Fix issue for a NullPointerException in EffectCompilerSystem with latest changes