Text handles: fix input method commits

Change-Id: I1fa2240915b114c6b46360233fcea2b6cee86cd7
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>