Fix cursor position with new font