main functionality of EntitiesDrawer.
Drawer fixes
fix wrong drawing entities count