Reset the windows position if it is being replaced

Fixes the bug where it would be replaced as it is sliding out, but the
position would not be reset.
2 jobs for !18 with replaceResetPos in 1 minute and 24 seconds (queued for 2 seconds)
latest detached
Status Job ID Name Coverage
  Build
passed #10919
build

00:00:34

 
  Distcheck
passed #10920
distcheck

00:00:50