Keep the PangoLayout around, and refresh in update_cache. https://bugzilla.gnome.org/show_bug.cgi?id=707729