O alinhamento da primeira linha da figura foi alterado ao usar o alinhamento à direita

O alinhamento da primeira linha da figura foi alterado ao usar o alinhamento à direita

Texto devidamente alinhado com imagens de figuras moldadas no alinhamento justificado, no caso de texto com alinhamento à direita, quebra de primeira linha com duas ou três palavras até mesmo espaço ocorre para preencher a lacuna. Por favor, sugira como corrigir esse problema. Aqui anexei capturas de tela de ambos os tipos de casos.

MWE: insira a descrição da imagem aqui

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

informação relacionada