Correct letter case after moving cursor (fixed #5)