Fix (random) NPE on Anvil click