Is spontaneous localization compatible with the energy density of the universe