There is another case when we don't want to reprioritize: when the tile queue is empty. But we should maybe optimize the reprioritize function, to return immediately if the tile queue is empty.