Use activeIme.scrollHeight instead of ime