You have to stay still as well, this is tragically because of a bug that I couldn't figure out to fix where every time you move horizontally it briefly registers you as not being on the floor.