Fixed an issue where headers with a height taller than the "scrollaway margin" were disappearing early