Made windows centered on the screen