that is not a bug, they are supposed to restart at the points where they were last flipped. I was originally going to use this mechanic in one of the levels, but I forgot to. Good job on finding the egg!