Affix no longer jumps when using sticky footer (fixes #7414).

This doesn't fix the other jumping issue #4647.