Fix issue in RigidBody::applyForce() method