Fixed a problem with scroll spy and affix.