Problem while typing in Marathi or Hindi with the help of ibus m17n engine. The letter moves with mouse click

When typing Marathi or Hindi in Libreoffice on Ubuntu system with help of ibus m17n if we click anywhere else the last character we type also moves with the mouse click. If press the space bar or arrow key this problem do not arise.

This sounds like a rendering issue. After the problem occurs, if you save and close, or print or export as PDF, is the problem still visible? Please also tell what font you are using. It may help to use a different font instead.

That problem occurs only while typing. If we do not click anywhere else there is no problem. The problem also occurs only when there is underscore under the character.