Fixed bug where ESG was tied to targeted faction instead of selected faction.