resizing does not change center