I can't reproduce this with FileMaker 12 on my Windows Xp system unless I select the "reset portal when exiting record" option in Portal Setup.
Hmmm...I don't know if it makes a difference, but I'm on Windows 7 Pro.
Is there anything about running in the Script Debugger that might help me troubleshoot this? It works fine in the script debugger, but not in normal execution mode. I also does not work in IWP.
If I click on a portal row (which runs a Select_xxx script), it still maintains focus on the row. When I execute the Save_xxx script from a button on the same layout, but outside of the portal is where it resets to the top.