Fixed editor bug.