Fix header sizes and positions.