[Alt-Tab] Fix bad for-loop variable usage.