diff --git a/core/misc/tableheader.js b/core/misc/tableheader.js
index a558dd6..98aaf24 100644
--- a/core/misc/tableheader.js
+++ b/core/misc/tableheader.js
@@ -207,7 +207,7 @@
     onScroll: function (e) {
       this.checkStickyVisible();
       // Track horizontal positioning relative to the viewport.
-      this.stickyPosition(null, scrollValue('scrollLeft'));
+      this.stickyPosition(displace.offsets.top, scrollValue('scrollLeft'));
       this.$stickyTable.css('visibility', this.stickyVisible ? 'visible' : 'hidden');
     },
 
