window.ui: Use the correct parent widget

https://bugzilla.gnome.org/show_bug.cgi?id=729484