Because both layouts use the same event sheet, when zombies=0 it keeps reloading layout 2. If they must use the same event sheet then you can add a condition, zombies=0 and layoutname=layout1. Also if you set a target number for zombies on start of layout it would stop the constant refresh.