Fixed problems in rigid body simulation when objects simulated did not have mass