Fix cursor for Android keyboard