Writer 5.3, 5.4 - Justified formatting not working for Malayalam

Paragraphs in Malayalam language are not correctly ‘Justify’ formatted in LibreOffice 5.3 and 5.4 on Windows 7 (LO English (UK)).
There is no such problem in the LibreOffice 5.2.

I think a similar problem was reported earlier during 5.3 release, and there was a reply indicating that it was due to a change in the display-engine or something like that.
It still exists in LO 5.4. So is it going to be like this henceforth? If so, we have to continue using 5.2 for Malayalam language documents.