
Otherwise it happens that porthole is computed again after that the overlay is hidden (triggered by a layout reallocation) and thus not regenerated again afterwards. https://bugzilla.gnome.org/show_bug.cgi?id=792687 (cherry picked from commit 5fcf40b973286fd442148ee3348becd493c8206d)