hide blocks with undefined visibility while page is not loaded