fixes a problem with white borders when using the gray header