Ah, yeah.. that's because the layout ends outside the screen and player.isOnScreen=false is counted as death. I'll get to work on ProjectUntitled when i finish DSR.