Fixed despawning entities that are out of range