Finish composition when the IME is off, fixes #16