Merge "Make canBeImeTarget be compatible with legacy behavior" into rvc-dev