Suggested patch for the introduced bug after previous commit.

solved: when moving from the rightmost position of the math inset to the
below row,(using right arrow)
the word in that text row gets scrolled to left.