Fix thread safety on Worlds