Disable AI when piglet is invisible and enable AI as it is visible