fix setposition(center) in linux

I find that `gtk_window_set_position(window_, GTK_WIN_POS_CENTER)` doesn't work very well. So I use `gtk_window_move` to set the window to the center of the screen.