Set initial visibility.