Fix regression in setScale