Query `rect_for_text_range` on focused view instead of root element (#2564)

This was causing IME input to be drawn in the wrong place when there
were splits or panels in the window.

Release Notes:

- Fixed a bug that was causing IME input to sometimes be rendered in the
wrong position.
0ed8bbc818Antonio Scandurra committed on 6/5/2023, 10:11:35 AM· committed by GitHubparentsa89f3edc872f58
2 files changedLine totals unavailable