that's because you haven't made sprite 0 on the touch screen yet. do you want the code in the while loop to run on the top screen?