Fix a bug that the initializer of GtkCocoaIMClient is never called.