Moving mode check before key check.