Fix content size correctly