fix "preview tab isn't hidden when preview step disabled"