fix visibility polyfill