Fixed an editor initialization issue.