fixed bug where clicking entities wouldn't update search