Fixed get header margin value