Add Stack Panel support
Correct mismatch between Tab Panel and Stack Panel