Fix bar height calculation for IE8.