[WPF] Fix another layout issue