Have a look at the project settings -> main templates. Only screens wich open on a main template are shown in the system driver variable LastOpenedScreen