fix table header draw elements