Error hen in fullscreen

When I try to centralize the “canvas” with SDL_RenderSetViewport and even using SDL_RenderSetLogicalSize, the canvas don’t centralize in fullscreen. See the image: