Fix gravity checks.