A previously unexploded mortar shell went off as children were playing around it in a city in southern Somalia.