Allow changing direction multiple times on the same frame when using freeze.