Change NULL to nullptr in RemoveAutoXTargets()