added mutex to Scene::initializePhysics