Fix detecting entities in regions being very off.