you may have to just work on responses to such remarks. Either the kids don't mean anything by it or they are purposely looking for a response (some of each probably). If she is upset it will encourage those who are looking for a response. Remind her that "smart kid" is neither untrue or offensive and she can no more not be smart than change the colour of her skin.