well this is a logic bug, if you have an event in your event sheet:
someSprite -> on destroyed -> restartLayout
and in the same event sheet you have:
on someCondition -> go to OtherLayout
when someCondition is met, layout is restarted, but the game should go OtherLayout. what happens is that the game tries to go to OtherLayout, destroys all objects including someSprite, which on destroyed makes game restart current layout, so the game just restarts current layout :)