Fix criticals associated with GtkStyleContext destruction.