Fix setScale regression