fixed updating editor element list for game engine when changing levels