Go to control panel->ease of access->make the mouse easier to use->prevent windows from being automatically arranged