Input Window of IME (Input Method) does not follow cursor

Environment

Scrivener: 2.9.0.38 Beta (833014) 64-bit - 12 Feb 2020
Linux: Elementary OS 5.1
Wine: 5.1 (Staging)
fcitx: 4.2.9.6

Problem

  1. Install wine and scrivener in wine
  2. Install fcitx in linux
  3. Try to type with fcitx in scrivener
  4. The input window shows below the window, instead of following the cursor

Expected Result

The input window shows near the cursor; this works when running notepad.exe.