Fixed a race condition in the constructor of WorldContainerImpl where incoming messages could call shared_from_this() before the shared_ptr is constructed.