Fixed bug setting initial mass of a particle added on line.