Fix gravity mode.