Implemented entity picking in editor.