This should only happen when the visibility has changed.