Do not allow "playing" a level being editted directly. You have to go to "try it" mode first.