Fixed a crash upon generating the nether