Fix overlays visibility for Chrome and Firefox.
Fix overlayes visibility for Chrome and Firefox.