Fixed some error handling on world size