Fix for a client crash on world load.

Unsure what could cause this.