Fix wrong cursor position issues in difference horizontal alignment

No match.