Fixed crash bug that occured when entities were removed from the manager's list while itterating through the list for update.