spice: flush on GL update before notifying client