gtkui: Fix time slider behavior in a GTK3-compatible manner.