Fix registers saved on fork.