Fixed a serious memory leak in the entity radar