Resize and center on create and resize.