I have a very simple WPF window - the only thing in it is a right-aligned button. When I resize the window by dragging the left boundary, the button jumps around - a lot. Try it yourself, drag the left boundary back and forth.
Additionally, a black background becomes exposed temporarily during resizes.
In this question, I asked a similar question about Windows Forms. The only answer I got suggested that this is fixed in WPF, however, amazingly, not only is it not fixed, but WPF also adds a second visual bug - the temporary black background.
Am I doing something wrong? How can I have my controls stay visually in one place during resizes? How can I avoid the black border?
Note: the button ends up in the correct place eventually - it only jumps around briefly during the resize.