Fix case-dwim region case transformation