Do not rely on timing but wait for Kakoune to redraw which is what we actually need: Mouse clicks rely on the current display buffer to resolve the buffer location, so we need to wait for a redraw to happen with `ui_out`