bug 860205 - check visible state when initialing. r=arthur