Decouple Overlay from web content's fullscreen state

overlay.visible = true here

We're about to enter to a state where overlay needs to visible. Thus, we need to set Overlay visible before transition starts. Line 236 hides overlay correctly.