fix crouching bug and "idle after landing" bug