Fixed ratio settings bug.