Make affix accept 0 as offsetTop or offsetBottom

Don't ignore `data-offset-top=0` `data-offset-bottom=0`
Fixes #12815.