Fixed issues with unhidden tabs of portal modes.