La alineación de la primera línea de la figura envolvente cambió cuando se usa la alineación derecha

La alineación de la primera línea de la figura envolvente cambió cuando se usa la alineación derecha

Texto alineado correctamente con imágenes de figuras ajustadas para justificar la alineación; en el caso de texto alineado a la derecha, se produce un salto de primera línea con dos o tres palabras, incluso el espacio para llenar el espacio. Sugiera cómo solucionar este problema. Aquí adjunto capturas de pantalla de ambos tipos de casos.

MWE: ingrese la descripción de la imagen aquí

\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} 

información relacionada