Editor: optimize entity selection.