Fixed editor singleton issue.