Window now centers itself