Added a fix for header not taking margin and padding of parent table into account when assigning positioning.