fix(core): prevent goBack from removing topmost frame from stack (#11437)

maind486c3bOpen on GitHub