Fixed editor initialization flaw.