fix visibility of frames