Fix allowing the supply of window/root object in factory arguments