It looks like that the latest version of the data widgets module have some updated css that causes this problem.
An easy for this is adding the following scss line to your project:
.sticky-sentinel.container-stuck+.widget-datagrid-grid .th, .sticky-sentinel.container-stuck+.table .th {
z-index: 0;
}