Add hack to correct memory even if frame is not initialized.