fix tab visibility bug: was checking embeddability but not tab config