Fix getMethodInjectInputEvent