Fix initial visibility state bug.