Use a more robust method of finding the entity in field_group_pre_render_gsb_field_formatter_group_link_to_field().