Query `rect_for_text_range` on focused view instead of root element

This was causing IME input to be drawn in the wrong place when there
were splits or panels in the window.
c872f581d1Antonio Scandurra committed on 6/5/2023, 10:00:40 AMparenta89f3ed
2 files changedLine totals unavailable