We now will only be getting the input method panel when there's an enabled surface. (cherry picked from commit 2c6821fd)