Nesting Text elements inside a TextFlow makes the attached hit-test fail, the reason is that the correct Y-Coordinate is reported by the MouseEvent, when directly placing a Text-Node the Y-Coordinate is negative which I find strange.
The reason for the failing of the hit-test is that impl_hitTestChar always adds the YRendering() to the coordinate. To me it looks like Text-Node is providing wrong relative coordinates (negative ones) if placed into a container like HBox and to fix this YRendering was added.