Fix content display incorrectly on the preview