Down arrow navigation interrupted by inline widget on its own line

Hi! I encountered an issue where pressing down arrow doesn’t move the cursor down when the whole inline widget element happens to be on its own line, perhaps due to being wrapped.

Curiously, it only happens when the whole widget (the grey “Line end dec” text span) is wrapped.

In the case below where the wrap splits the widget, navigation with down arrow works as expected

Here’s a reproduction link though you might need to adjust the text in the first line to induce wrapping.

This patch should fix this.

Yep that did. Thank you very much!