Fix for crash on food enemy