Fixed an issue where Body.isOnGround() sometimes returned false despite
the body being on the ground.