Fix a bug in Galaxies.