右揃えを使用する場合、折り返し図の最初の行の配置が変更されました

右揃えを使用する場合、折り返し図の最初の行の配置が変更されました

テキストは、両端揃えで図の画像を折り返して適切に配置されていますが、右揃えのテキストの場合は、ギャップを埋めるためにスペースが発生しても、最初の行は 2 つまたは 3 つの単語で改行されます。この問題を解決する方法を提案してください。ここでは、両方のケースのスクリーンショットを添付しました。

MWE: ここに画像の説明を入力してください

\documentclass{book}
\usepackage{wrapfig}    
%\usepackage{fontspec}

\raggedright\parindent12pt

\begin{document}
\section{Overview}
Numerous videos
and interactivities are embedded just
where you need them, at the point of

\subsection{Links with our times}
When a new pipes are installed to take away sewage and
stormwater. All these facilities are
usually in place before any homes are built,
and even the construction of the
houses is governed by strict building regulations.
The situation was very
different two hundred years ago.

\begin{wrapfigure}{r}{150pt}
\includegraphics{176774415.pdf}
\end{wrapfigure}
When a new pipes are installed to take away sewage and
stormwater. All these facilities are
usually in place before any homes are built,
and even the construction of the
houses is governed by strict building regulations.
The situation was very
different two hundred years ago.


When a new pipes are installed to take away sewage and
stormwater. All these facilities are
usually in place before any homes are built,
and even the construction of the
houses is governed by strict building regulations.
The situation was very
different two hundred years ago.

\end{document} 

関連情報