Fix bug where blocks will stop generating