recompilation-caused frameskip workaround