set window creation to center of minotir