This seems to be a Bug, it should stop it as it happened the second time you tried. Please report it so we can try to replicate it and find the problem.
The above applies to the window when it is opened for the first time. If the window is already open and I choose Window/Restore Position, the window takes the correct position. Namely, the upper left ...