Trying to toggle the case of a rectangular selection currently
results in some rather strange results. This patch seems to
solve the problem...

 - Jeff