fix disable global key failed bug, fix GtkWindow input shape error bug