Fixed pointers management in physics::World::getEntity().