SetVisible now called at the right time