Yeah, I was missing a line of code that determines which direction the kid goes on each level, so sometimes if you restart a level she'll be going the same direction she was going before, which leads to her walking off, or walking right through stuff to the egg. Oh well. I'll fix it once I can update the game after voting.