If dynamic editor is closed, wrong mcore is in focus, which leads to manipulations of the wrong mcore