Center loader when resizing.