[Fix] Bug in direct gravity.