Bug searching for a patient in Frames layout mode

I use the frame layout mode, and when searching for a patient I click on a name and it leads to a 404 error page. This error is described in https://forum.visolve.com/t/redirection-issue-in-search-option/26 , but I tried the proposed solution in openemr 5.0.2 and it did not work. This error es present in the current online demo version at https://six.openemr.io/c/openemr/interface/main/main_screen.php?auth=login&site=default