Window is created in center