Fixed NPE when TFShield is disabled