Different handling for inactive tab panels

The “display:none” rule isn’t so good for accessibility, and also
results in WordPress disabling any meta boxes inside the panel. This
fixes the wp_editor height bug too - just not sure how reliable the
chosen selector is.