GtkBox: Fix self-assignment for center widget

This is happening when glade is loading ui files containing
center widgets.