Copy frontend state instead of overwriting it