fix IME overlapping fields while typing in certain situations

Change-Id: Ia8762443b4f43174fb416bd432c2e70f97881558
Signed-off-by: Roman Birg <romanbirg@gmail.com>