fixed pinned header drawing