You can remove Show All Records from your script and it will work just the same.
Check the tab order for your layout. I'm guessing that your field "part way down the layout" is currently designated as the first field in your tab order.
You can enter layout mode and select Set Tab Order... from the Layouts menu to see and modify the tab order for a given layout.
Thanks! it was actually the title of the first tab panel that was designated as the first in the tab order.
I changed it and now it works perfectly!