I tested this solution, and it "works", but I believe the solution may be worse than the problem. By resetting the focus all the time, the user get an experience different than a web page form, which allows focus to remain on fields that are off screen.