Fix cross-frame test